#include "github.h"

GitHub::GitHub()
{

}

QString GitHub::name()
{
    return "GitHub - Projects";
}

QString GitHub::content(const QString &text)
{
    if (text.isEmpty()) {
        return "https://github.com/search";
    }

    return "https://github.com/search?type=repositories&q=" + text;
}
